

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>validate验证框架演示</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/><meta http-equiv="Page-Enter" content="revealTrans(duration=1, transition=2)"/><meta http-equiv="Page-Exit" content="revealTrans(duration=1, transition=2)"/>
		<link type="text/css" rel="stylesheet" href="../js/validate/css/validate.css" /> 
		<script src="../js/validate/talent-validate-all.js" language="javascript"></script><script src="./demo.js" language="javascript"></script>
		</head><body>
			<form name="form1" style='border:1px solid #9BDF70;margin:4px;' title="form1">
				n1<input type="text" value="" name="n1" id='id1'/>
				<br/>
				n2<input type="text" value="" name="n2" id='id2'/>
				<br/>
				n3<input type="text" value="" name="n3" id='id3'/>
				<br/>
			</form>
			
			<input type="button" class='button' value="验证n1" onclick="tt.validateName('n1')"/>
			<input type="button" class='button' value="验证n2" onclick="tt.validateName('n2')"/>
			<input type="button" class='button' value="验证n2和n3" onclick="tt.validateName('n2', 'n3')"/>
			<input type="button" class='button' value="验证所有" onclick="tt.validate()"/>
		</body>
		<script id="talent_script">
			tt.vf.req.add("n1", "n2", "n3");
		</script>
</html>
